<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="trashcan">
		<xsl:choose>
			<xsl:when test='@type=0'>
					<div style="padding-top:5px;padding-bottom:10px;
				border-top:1px solid #787878; border-left: 1px solid #787878; border-right: 1px solid #787878; border-bottom:1px solid #787878;
				font-family:tahoma; font-size:10px; color:#CC0000;
				">	<div style="padding-bottom:5px;font-family:tahoma; font-size:9pt; color:#CC0000;
				"><center><b>Cancella la posta:</b></center>
					</div>
					<img align="left" src="/imgs/trashmail.gif"/>
					<nobr><a href="/mailbox/mailbox.aspx?type=0&amp;deleteBulk=2&amp;gg=0">tutta la posta inviata</a></nobr><br/>
					<nobr><a href="/mailbox/mailbox.aspx?type=0&amp;deleteBulk=2&amp;gg=15"><u><b>vecchia di 15gg</b></u></a></nobr><br/>
					<nobr><a href="/mailbox/mailbox.aspx?type=0&amp;deleteBulk=2&amp;gg=30">vecchia di 30gg</a></nobr><br/>
					</div>

			</xsl:when>
			<xsl:otherwise>
					<div style="padding-top:5px;padding-bottom:10px;
				border-top:1px solid #787878; border-left: 1px solid #787878; border-right: 1px solid #787878; border-bottom:1px solid #787878;
				font-family:tahoma; font-size:10px; color:#CC0000;
				">	<div style="padding-bottom:5px;font-family:tahoma; font-size:9pt; color:#CC0000;
				"><center><b>Cancella la posta:</b></center>
					</div>
					<img align="left" src="/imgs/trashmail.gif"/>
					<nobr><a href="/mailbox/mailbox.aspx?deleteBulk=1&amp;gg=0">tutta la posta letta</a></nobr><br/>
					<nobr><a href="/mailbox/mailbox.aspx?deleteBulk=1&amp;gg=15"><u><b>vecchia di 15gg</b></u></a></nobr><br/>
					<nobr><a href="/mailbox/mailbox.aspx?deleteBulk=1&amp;gg=30">vecchia di 30gg</a></nobr><br/>
					</div>
			</xsl:otherwise>
		</xsl:choose>

</xsl:template>

</xsl:stylesheet>